import http from "@/request/http";
/**
 * 区域管理设置
 */
const TerritoryManagement = {
    /**
     * 获取区域管理列表
     * @param {*} param 
     */
    addrManaList(param){
        return http.get('/schoolET/addrMana/addrManaList',param);
    },
    // 添加区域
    addrManaAdd(param){
        return http.post('/schoolET/addrMana/addrManaAdd',param)
    },
    // 更新区域区域
    addrManaUp(id,param){
        return http.post('/schoolET/addrMana/addrManaUp/'+id,param)
    },
    // 删除区域
    addrManaDel(param){
        return http.post('/schoolET/addrMana/addrManaDel/'+param)
    },
    findById(param){
        return http.get('/schoolET/getRegionData/'+param)
    },
    csAdmin(id,param){
        return http.post('/schoolET/addrMana/addrManaAdminId/'+id,param)
    }
};

export default TerritoryManagement